<script src="../media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="../media/system/js/core.js" type="text/javascript"></script>
<form action="index.php?top=page&option=com_frclub" method="post" name="adminForm" id="adminForm" class="adminform">
<!-- LEFT -->
 <?php echo $this->loadTemplate('search','default') ?>
 <!-- END LEFT -->

 <!-- CONTENT -->
 <div id="jm-content">
    <div class="cc title">
        <div class="id"><?php echo $this->info_ocba->OCBA_CODE; ?></div>
        <div class="cc-title">
            <p class="top"><?php echo $this->info_ocba->OCBA_KANA; ?></p>
            <p class="bot"><?php echo $this->info_ocba->OCBA_NAME; ?><span class="float-right">【<?php echo $this->info_ocba->OCBA_SHOR; ?>】</span></p>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="menu-cc">
        <ul id="nav">
        <?php
            foreach(bgData::getMenuDetailClub() as $key=>$item){
                $acctive = 'normal';
                if(JRequest::getVar('task') == $key){
                    $acctive = 'current';
                }
         ?>
            <li class="<?php echo $acctive; ?>"><a href="index.php?top=page&option=com_frclub&task=<?php echo $key; ?>&id=<?php echo $this->info_ocba->OCBA_CODE; ?>"><?php echo $item; ?></a></li>
          <?php } ?>

        </ul>
    </div>
    <h3 class="h_title">基本情報<span style="float: right;">更新日:<?php if($this->rows->OCBA_DATE!='0000-00-00 00:00:00') echo HelperBG::F_GetDate_JP($this->rows->OCBA_DATE); ?></span></h3>
   <div class="info-basic">

          <!--<label class="h_title" >基本情報</label><span class="right">更新日:<?php //echo HelperBG::F_GetDate_JP($this->rows->OCBA_DATE); ?></span>-->

        <div>
            <div class="img">
                <img width="240px" height="180px" class="imgdetail" src="
                    <?php if($this->rows->OCBA_IMG != null) {
                        echo 'uploads/images/com_center/'.$this->rows->OCBA_IMG ;
                    } else {
                        echo 'https://compass.bgf.or.jp/components/com_frcenter/public/images/nopicture.gif' ; 
                    } ?>"/>
            </div>
            <table style="width: 63%;" border=0>
                <tbody>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">所在地</td>
                    <td style="width: 300px;valign:top">
                        <label><?php if ($this->rows->OCBA_POST!=null) echo '〒'.$this->rows->OCBA_POST; ?></label><br/>
                        <label><?php echo $this->rows->OCBA_ADD1; ?></label><br/>
                        <label><?php echo $this->rows->OCBA_ADD2; ?></label><br/>
                        <label></label><br/>
                        Tel：<label><?php echo $this->rows->OCBA_TEL; ?></label>
                        Fax：<label><?php echo $this->rows->OCBA_FAX; ?></label>
                    </td>
                </tr>
                <tr></tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">連絡先</td>
                    <td style="width: 300px;valign:top">

                        <label><?php echo $this->rows->OCBA_LNAME; ?></label><br/>
                        <label><?php if($this->rows->OCBA_LPOST!=null) echo '〒'.$this->rows->OCBA_LPOST;?></label><br/>
                        <label><?php echo $this->rows->OCBA_LADD1; ?></label><br/>
                        <label><?php echo $this->rows->OCBA_LADD2; ?></label><br/>
                        Tel：<label><?php echo $this->rows->OCBA_LTEL; ?></label>
                        Fax：<label><?php echo $this->rows->OCBA_LFAX; ?></label>
                    </td>
                </tr>
                <tr></tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>代表者</label><br />
                        <label>連絡担当者</label>

                    </td>
                    <td style="width: 300px;valign:top">
                        <label>代表：<?php echo $this->rows->OCBA_HEAD; ?></label><br/>
                         <label>担当：<?php echo $this->rows->OCBA_CONT; ?></label>
                    </td>
                </tr>
                <tr></tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>開設年月日</label>
                    </td>
                    <td style="width: 300px;valign:top">
                        <label><?php if($this->rows->OCBA_SDATE!='0000-00-00 00:00:00') echo HelperBG::F_GetDate_JP($this->rows->OCBA_SDATE); ?></label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>開館期間</label>
                    </td>
                    <td style="width: 300px;valign:top">
                        <?php echo $this->rows->OCBA_PERI; ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>休館日</label>
                    </td>
                    <td style="width: 300px;valign:top">
                        <?php echo $this->rows->OCBA_REST; ?>
                    </td>
                </tr>
                <tr></tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>クラブ種別</label>
                    </td>
                    <td style="width: 300px;valign:top">
                        <label><?php echo $this->rows->CLUB_NAME; ?></label>
                    </td>
                </tr>
                <tr></tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>支援団体</label>
                    </td>
                    <td style="width: 300px;valign:top">
                        <label><?php echo $this->rows->OCBA_SUPP; ?></label>
                    </td>
                </tr>
                <tr></tr>
                <tr>
                    <td style="width: 120px; valign:top;" valign="top">
                        <label>PR </label>
                    </td>
                    <td style="width: 300px;valign:top">
                       <?php
                          echo HelperBGtop::newline2br($this->rows->OCBA_PR);

                        ?>

                    </td>
                </tr>
                </tbody>
            </table>
            <input type="hidden" name="task" value=""/>
            <input type="hidden" name="boxchecked" value="0"/>
        </div>

    </div>

 </div>
 </form>
 <!-- END CONTENT -->
